(require 'linum+)

(defun linum-settings ()
  "to be implemented"
  (unless (eq major-mode 'image-mode)
    (linum-mode 1)))

(eval-after-load 'linum
  '(linum-settings))

(provide 'linum-settings)